package com.xdy.empty.service.impl;

import com.xdy.empty.bean.Book;
import com.xdy.empty.dao.ExampleMapper;
import com.xdy.empty.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BookService {

    @Autowired
    private ExampleMapper exampleMapper;

    @Override
    public List<Book> getALl() {
        return exampleMapper.getALl();
    }
}
